package org.sgx.gwtsjcl.client;

import com.google.gwt.core.client.JsArrayNumber;

public class JsUtil {
	public static JsArrayNumber toJsArrayInt(int[] a) {
		JsArrayNumber jsa = (JsArrayNumber) JsArrayNumber.createArray();
		for (int i = 0; i < a.length; i++) {
			jsa.push(a[i]);
		}
		return jsa;
	}
}
